﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NeuralStock.DataAccess;

namespace NeuralStock.DomainService.Interfaces
{
    public interface ICompanyService
    {
        IEnumerable<Company> GetAll();

        IEnumerable<Company> GetAllWithQuotationAndFinancialData(int financialReportStartYear, int financialReportEndYear, int quotationStartYear, int quotationEndYear);

        Company Get(int companyId);

        Company Get(string name);

        void Create(string name);

        void Update(string name, decimal? currentNumberOfShares, string sector, decimal? pe, decimal? pbv);
    }
}
